package cn.fl.dk.web.vo;

import cmm.mid.core.framework.page.KeyValueVO;

import javax.xml.crypto.dsig.keyinfo.KeyValue;
import java.util.List;

/**
 * 问题 和选项
 * 作者:hongyanbo
 * 时间:2018/6/4
 */
public class QuestionVO {
    /**
     * 前置条件list  name:optid value:idxid
     */
    private List<KeyValueVO> preOptList ;
    /**
     * 1:有前置条件 null 没有前置条件
     */
    private String hasPre ;
    String id ;
    /**
     * 题号
     */
    private String qNum;
    /**
     * 问题内容
     */
    String question ;
    /**
     * 选项
     */
    List<OptionVO> option;
    /**
     * 选择的选项id（答案id）
     */
    Long answer;
    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public List<OptionVO> getOption() {
        return option;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setOption(List<OptionVO> option) {
        this.option = option;
    }

    public Long getAnswer() {
        return answer;
    }

    public void setAnswer(Long answer) {
        this.answer = answer;
    }

    public String getHasPre() {
        return hasPre;
    }

    public void setHasPre(String hasPre) {
        this.hasPre = hasPre;
    }

    public List<KeyValueVO> getPreOptList() {
        return preOptList;
    }

    public void setPreOptList(List<KeyValueVO> preOptList) {
        this.preOptList = preOptList;
    }

    public String getqNum() {
        return qNum;
    }

    public void setqNum(String qNum) {
        this.qNum = qNum;
    }
}
